package yxy.game.pm2.bean.db.po;

import yxy.apple.db.ResultObjectBuilder;

/**
 * @author James
 * @date 2022/1/22 15:06
 **/
public class AvatarPo {
    private String playerCode;
    private String dataCode;
    private boolean newFound;//boolean类型
    private String conditions;//boolean数组类型

    public static ResultObjectBuilder<AvatarPo> builder = rs -> {
        AvatarPo avatarPo = new AvatarPo();
        avatarPo.setPlayerCode(rs.getString("pCode"));
        avatarPo.setDataCode(rs.getString("dataCode"));
        avatarPo.setNewFound(rs.getBoolean("newFound"));
        avatarPo.setConditions(rs.getString("conditions"));
        return avatarPo;
    };


    public String getPlayerCode() {
        return playerCode;
    }

    public void setPlayerCode(String playerCode) {
        this.playerCode = playerCode;
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }

    public boolean isNewFound() {
        return newFound;
    }

    public void setNewFound(boolean newFound) {
        this.newFound = newFound;
    }

    public String getConditions() {
        return conditions;
    }

    public void setConditions(String conditions) {
        this.conditions = conditions;
    }
}
